package com.chixing.ih.module.task.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 目的:
 *
 * @author ：zcw
 * @version: 1.0  2020/9/25 22:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class ChargeBack implements Serializable {
    @ApiModelProperty(value = "退单id", required = true)
    private Long id;

    @ApiModelProperty(value = "订单id", required = true)
    private Long orderId;

    @ApiModelProperty(value = "退款金额", required = true)
    private Double refundAmount;

    @ApiModelProperty(value = "退款原因", required = true)
    private String reasonForRefund;

    @ApiModelProperty(value = "创建时间", required = false)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间", required = false)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除", required = false)
    private Integer logicalDeletion;

    @ApiModelProperty(value = "标记退款", required = false)
    private Integer outRequestNo;

}
